package com.zhentao.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.zhentao.common.enums.admin.AdMembership;
import com.zhentao.dtos.Result;

/**
* @author 小明
* @description 针对表【ad_membership(会员表)】的数据库操作Service
* @createDate 2024-09-09 10:27:20
*/
public interface AdMembershipService extends IService<AdMembership> {

    /**
     * 会员列表展示
     * @return
     */
    Result membershipList();

    /**
     * 新增会员
     * @param adMembership
     * @return
     */
    Result membershipAdd(AdMembership adMembership);

    /**
     * 修改会员信息
     * @param adMembership
     * @return
     */
    Result membershipUpdate(AdMembership adMembership);

    /**
     * 删除会员
     * @param id
     * @return
     */
    Result membershipDelete(Integer id);

}
